#include "sha256.h"
#include <stdio.h>
#include <string.h>

int main()
{
    //  b689b7eb84fe84725de196e9481d4fad8d2c50c99fb6a33739543a5ca250e2
    unsigned char strBuf[] = "Hello Sha256";
    int nSize = strlen((char*)strBuf);
    unsigned char strOut[1024];
    Sha256Encrypt(strBuf, nSize, strOut);

    for (int i = 0; i < 32; i++)
    {
        printf("%x", strOut[i]);
    }
    puts("");

    return 0;
}